package com.xq.tmall.service;

import com.xq.tmall.entity.Business;
import com.xq.tmall.util.PageUtil;

import java.util.List;

public interface BusinessService {
    boolean add(Business business);
    boolean update(Business business);

    List<Business> getList(String business_name, PageUtil pageUtil);
    Business get(String business_name, Integer business_id);
    Business login(String business_name, String business_password);
    Integer getTotal(String business_name);
}
